package com.raycloud.erp.omll.provider.constant;

/**
 * @author 枫伦
 * @description: TODO
 * @date 2020/10/22 3:26 下午
 */
public interface Constants {

    String SOURCE = "omall";

    String REQUEST_POST = "POST";

    String REQUEST_GET = "GET";

    String HEADER_TOKEN_STR = "access_token";

    /**
     * 请求url地址
     */
    interface RequestUrl {
        //.获取ACCESS_TOKEN
        String GET_ACCESS_TOKEN = "/erp/open/api/getAccessToken";
        //订单 - 2.1 订单查询
        String ORDER_INDEX = "/erp/open/api/orderIndex";
        //订单明细查询
        String ORDER_DETAIL = "/erp/open/api/orderDetail";
        //订单 - 2.3 售后单查询
        String RETURN_ORDER_INDEX = "/erp/open/api/returnOrderIndex";
        //物流&发货 - 3.1 物流公司列表
        String LIST_LOGISTICS_NO = "/erp/open/api/listLogisticsNo";
        //物流&发货 - 3.2 发货或者修改物流
        String BATCH_TAG_SHIPPED = "/erp/open/api/batchTagShipped";


    }

    /**
     * 时间单位
     */
    interface TimeUnit {
        String DAYS = "days";
        String HOURS = "hours";
        String MINUTES = "minutes";
    }

}
